package com.dianshang.dao;

import com.dianshang.pojo.user.User;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface UserDao extends Mapper<User> {

    @Select("SELECT count(*) FROM `tb_user` WHERE phone = #{phone}")
    Integer selectPhone(String phone);

}